package com.zz.parkingsystem.mapper;

import com.zz.parkingsystem.dto.GeoDTO;
import com.zz.parkingsystem.entity.Geomagnetism;
import com.zz.parkingsystem.vo.AllGeoVO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* @author zz
* @description 针对表【t_geomagnetism(地磁表)】的数据库操作Mapper
* @createDate 2022-08-29 19:53:59
* @Entity com.zz.parkingsystem.entity.Geomagnetism
*/
@Mapper
@Repository
public interface GeomagnetismMapper {
    List<Geomagnetism> selAllGeo();
    Long getCount(GeoDTO geoDto);

    List<AllGeoVO> getAllGeo(GeoDTO geoDto);

    int deleteByPrimaryKey(Long id);

    int insert(Geomagnetism record);

    int insertSelective(Geomagnetism record);

    Geomagnetism selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Geomagnetism record);

    int updateByPrimaryKey(Geomagnetism record);

}
